local awful   = require("awful")
local naughty = require("naughty")


function keke(a, b)
    a = b
end

function inside_me()
    local hack = ""
    awful.spawn.easy_async_with_shell("xrandr --verbose | awk '/Brightness/ { print $2; exit }'", function(out) keke(hack, out) end)
    return hack
end

function try_me()
--     inside_me()
    local state = inside_me()
    naughty.notify({
        text = string.sub(state, 0, string.len(state) - 1)
    })
end
